LooPy: interactive program synthesis with control structures
نویسندگان
چکیده
One vision for program synthesis, and specifically programming by example (PBE), is an interactive programmer's assistant, integrated into the development environment. To make synthesis practical use, prior work on Small-Step Live PBE has proposed to limit scope of small code snippets, enable users provide local specifications those snippets. This paradigm, however, does not well in presence loops. We present LooPy, a synthesizer live environment, which extends inside loops scales it up synthesize larger while remaining fast enough use. allow effectively examples at various loop iterations, even when body incomplete, LooPy makes use execution , technique that leverages programmer as oracle step over incomplete parts loop. bodies speeds, introduces Intermediate State Graph new data structure, compactly represents large space snippets composed multiple assignment statements conditionals. evaluate empirically using benchmarks from competitive previous synthesizers, show can solve wide variety tasks speeds. also perform qualitative user study shows LooPy's block-level are easy programmers provide.
منابع مشابه
Interactive Program Synthesis
Program synthesis from incomplete specifications (e.g. input-output examples) has gained popularity and found real-world applications, primarily due to its ease-of-use. Since this technology is often used in an interactive setting, efficiency and correctness are often the key user expectations from a system based on such technologies. Ensuring efficiency is challenging, since the highly combina...
متن کاملDifmap: An Interactive Program for Synthesis Imaging
Difmap is a stand-alone program used by the radio-astronomy community to produce images from radio interferometers. It reads and writes the standard UV FITS file format produced by packages such as AIPS, and provides convenient ways to inspect, edit, and self-calibrate visibility data while incrementally building up a model of the sky. It has proven to be a popular alternative to larger package...
متن کاملAn Interactive Program for Conversational Elecitation of Decision Structures
Decision analysts are o f ten c ass i s t in the so lu t i on of planning over a large v a r i e t y of domains, cases the dec is ion analysts posses knowledge about the problem domain customers, and t h e i r con t r i bu t i ons p r i m a r i l y to the phases of fo rmal i op t im i za t i on . While op t im iza t ion performed on e lec t ron ic computers, t i o n phase i nva r i ab l y has b...
متن کاملProgram Synthesis in the Industrial World: Inductive, Incremental, Interactive
Programming by example (PBE), or inductive synthesis is a subfield of program synthesis where specification on a target program is provided in a form of input-output examples or, more generally, constraints on the output [9]. While research in PBE dates back as far as 1980s [8], its mass-market applications only appeared in the last decade. PBE has gained prominence due to its applicability in ...
متن کاملProof Planning, a Measurement for Effective Interactive Program Synthesis?
In this paper we suggest measures for making the synthesis process more likely to succeed. As a first measure the synthesis task must be made intelligible by making the starting point, the way of reasoning, and criterion for conclusion of the synthesis clear. Secondly, the interactive synthesis process can be supported by a planning ingredient in the system as a way for the system and the user ...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
ژورنال
عنوان ژورنال: Proceedings of the ACM on programming languages
سال: 2021
ISSN: ['2475-1421']
DOI: https://doi.org/10.1145/3485530